package net.sansi.v3correctserver.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.Objects;

/**
 * Created by Fang
 * create time : 2024/11/25
 * IDE : IntelliJ IDEA
 * <p>
 * 线条
 */

@AllArgsConstructor
@NoArgsConstructor
public class IntLine extends HashEquals {
    public IntPoint p1;
    public IntPoint p2;

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    public int hashCode() {
        return Objects.hash(p1, p2);
    }
}
